package com.mall.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("mall_user_address")
public class UserAddress {
    private Integer addressId;

    private String userId;

    private String receiverName;

    private String receiverPhone;

    private String addressProvince;

    private String addressCity;

    private String addressDistrict;

    private String addressStreet;

    @JsonFormat(pattern = "yyyy-mm-dd HH:mm:ss")
    private Date addressCreateTime;

    @JsonFormat(pattern = "yyyy-mm-dd HH:mm:ss")
    private Date updateTime;

    private Integer addressZipCode;

    private Integer isDelete;

}